package org.kzwl.entity.app;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 张国伟/郭家恒
 * @since 2020-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cu_book")
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图书编号
     */
    @TableId(value = "cu_book_id",type = IdType.AUTO)
    private Integer cuBookId;

    /**
     * 图书名称
     */
    @TableField("cu_book_name")
    private String cuBookName;

    /**
     * 出版社
     */
    @TableField("cu_book_press")
    private String cuBookPress;

    /**
     * 创建时间
     */
    @TableField("cu_book_create_date")
    private LocalDateTime cuBookCreateDate;

    /**
     * 图示分类
     */
    @TableField("cu_book_category_id")
    private Integer cuBookCategoryId;

    /**
     * 作者
     */
    @TableField("cu_book_author")
    private String cuBookAuthor;

    /**
     * 略缩图
     */
    @TableField("cu_book_abbreviation")
    private String cuBookAbbreviation;

    /**
     * 绘本角标 0-无 1-热门
     */
    @TableField("cu_book_label")
    private Integer cuBookLabel;

    /**
     * 人气
     */
    @TableField("cu_book_popularity")
    private String cuBookPopularity;

    /**
     * 评分
     */
    @TableField("cu_book_score")
    private BigDecimal cuBookScore;

    /**
     * 简介
     */
    @TableField("cu_book_introduce")
    private String cuBookIntroduce;

    /**
     * 摘要
     */
    @TableField("cu_book_abstract")
    private String cuBookAbstract;

    /**
     * 跳转方式 0-内部 1-外部 2-视频 3-音频
     */
    @TableField("cu_book_type")
    private Integer cuBookType;

    /**
     * 路径
     */
    @TableField("cu_book_address")
    private String cuBookAddress;

    /**
     * 推荐状态
     */
    @TableField("cu_book_recommend")
    private String cuBookRecommend;
    /**
     * 最后修改时间
     */
    @TableField("cu_book_update_date")
    private String cuBookUpdateDate;

    /**
     * 总页数
     */
    private Integer cuBookPages;

}
